<template>
	<view class="preference">
		<h5>为你推荐可能感兴趣的内容</h5>
		<view class="preferences">
			<view class="preferences-box">
			<slider :value="value" activeColor="#fcdce1" block-size="0"></slider>
			<text>运动</text>
			</view>
			<view class="preferences-box">
			<slider :value="value" activeColor="#fcdce1" block-size="0"></slider>
			<text>美妆</text>
			</view>
			<view class="preferences-box">
			<slider :value="value" activeColor="#fcdce1" block-size="0"></slider>
			<text>旅游</text>
			</view>
			<view class="preferences-box">
			<slider :value="value" activeColor="#fcdce1" block-size="0"></slider>
			<text>摄影</text>
			</view>
			<view class="preferences-box">
			<slider :value="value" activeColor="#fcdce1" block-size="0"></slider>
			<text>养生</text>
			</view>
			<view class="preferences-box">
			<slider :value="value" activeColor="#fcdce1" block-size="0"></slider>
			<text>巧克力张张包</text>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
			value:50
			}
		},
		methods: {

		},
		onNavigationBarButtonTap(e) {
			console.log(e);
		}
	}
</script>

<style>
	.preference {
		display: flex;
		align-items: center;
		flex-direction: column;
	}

	.preferences {
		width: 100%;
		/* background-color: black;s */
		display: flex;
		flex-direction: column;
		/* align-items: center; */
	}
	>>> .uni-slider-handle-wrapper{
		border-radius: 100rpx;
	}
	>>> .uni-slider-handle-wrapper{
		height: 100rpx !important;
	}
	>>> .uni-slider-track {
		border-radius: 100rpx;
	}
	>>> .uni-slider-handle{
		width: 80rpx;
		height: 80rpx;
	}
	.preferences-box text{
		position: relative;
		top: -100rpx;
		left: 150rpx;
	}
</style>